#define _CRT_SECURE_NO_WARNINGS  1
#pragma warning(disable:6031)
#include <stdio.h>

int main()
{
	float a;
	scanf("%f", &a);
	int b = (int)(a);
	printf("%d", b);
	return 0;
}